package com.hmall.search.service;

import com.hmall.common.dto.PageDTO;
import com.hmall.search.pojo.ItemDoc;
import com.hmall.search.pojo.Search;

import java.util.List;
import java.util.Map;

public interface SearchService {
    Map<String, List<String>> search(Search search);

    PageDTO<ItemDoc> list(Search search);
}
